package com.rahwi.rahwi_server.Service.validator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Interface Register
 * @Description 定义@Register注解，notNull接受需要非空验证的字段名
 * @Date 2021/12/19 22:56
 * @Autor mjw
 * @Version 1.0
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Register {
    String[] notNull() default {""};
}
